package com.yijianonghu.util.result;

public class Result {

	private Boolean success;
	private String message;
	private Object infor;
	private Integer error_code;
	
	public Result(){
		
	}
	
	public Result(Boolean success, String message, Object infor, Integer error_code) {
		super();
		this.success = success;
		this.message = message;
		this.infor = infor;
		this.error_code = error_code;
	}
	
	public Boolean getSuccess() {
		return success;
	}
	public void setSuccess(Boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getInfor() {
		return infor;
	}
	public void setInfor(Object infor) {
		this.infor = infor;
	}
	public Integer getError_code() {
		return error_code;
	}
	public void setError_code(Integer error_code) {
		this.error_code = error_code;
	}

}
